package excel.study.test;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelEntity;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;
import lombok.Getter;

import java.util.List;

@Data
@ExcelTarget("courseEntity")
public class CourseEntity {
    /** 主键 */
    private String        id;
    /** 课程名称 */
    @Excel(name = "课程名称", orderNum = "1", width = 25,needMerge = true)
    private String        name;

    @Excel(name = "logo",type = 2,imageType = 1,needMerge = true)
    private String logoUrl;

}


